from django.db import models

#Clase que modela a un cliente del Camping
class Cliente(models.Model):
	GENDER_CHOICES = (
        (u'M', u'Masculino'),
        (u'F', u'Femenino'),
    )
	nombre = models.CharField(max_length=200)
	apellido1 = models.CharField(max_length=200)
	apellido2 = models.CharField(max_length=200)
	sexo = models.CharField(max_length=2,choices=GENDER_CHOICES)
	tipoDocumento = models.CharField(max_length=200)
	fechaExpedicion = models.DateField()
	fechaNacimiento = models.DateField()
	domicilio = models.CharField(max_length=200)
	poblacion = models.CharField(max_length=200)
	provincia = models.CharField(max_length=200)
	pais = models.CharField(max_length=200)
	telefonos = models.CharField(max_length=200)
	email = models.CharField(max_length=200)
	
	def __unicode__(self):
		return self.nombre

